import Vue from 'vue';
import ElementUI from 'element-ui';
Vue.use(ElementUI)
import 'element-ui/lib/theme-chalk/index.css';
import jQuery from 'jquery'
import 'bootstrap/dist/css/bootstrap.min.css'
import 'bootstrap/dist/js/bootstrap.min'

import AuthPanel from './views/auth-panel';

Vue.config.debug = true; //开启错误提示

var domExist = document.getElementById('auth-panel-app');
if(domExist){
	new Vue({
		el: '#auth-panel-app', // 如果不渲染，那么久改为document.getElementById试下
		data:{},
		components:{'auth-panel': AuthPanel},
	});
}

export default AuthPanel; // 暴力组件